Page method is returning content of whole page