added routes for login/logout and homepage