class UserController {

    @GetMapping("/{userName}")
    public ResponseEntity<Response> getUserByUserName(@PathVariable String userName, @RequestHeader HttpHeaders headers) {
        return ok(userService.findByUserName(userName, headers));
    }

}