core/handlers: add logout route.