Added logout to UserController