Changed routes, added login/logout functionality