added all the routes to the pages and implemented the authentication system but pages arent locked out yet