Refactoring step. Logout controller.