Added login/logout routes.