fixing the logout path and the controller action