added session check in select_where function of page controller
defined initial single_page link click function that displays a single page detail on the console