Adding some more page functions - TODO move all page functions into a page.inc fiel