Added function to retrieve user info for page

added function select_page_info(user_id)