logout fullyfunctional, for the route