Completed session and authorization logic. Added user_pages and authentication_pages test specs.