@RequestMapping(value = "/login/logout", method = RequestMethod.POST) public ResponseEntity logout(@RequestHeader(TOKEN) String token) { return new ResponseEntity( userAccountBo.logout(token) ? HttpStatus.OK : HttpStatus.UNAUTHORIZED); }