added new pages and authentication checks