}
@RequestMapping(value="/authenticate", method=RequestMethod.GET, produces=JSON_TYPE)
public ResponseEntity<User> authenticate(@RequestHeader("email") String email, @RequestHeader("password") String password)
{
User user = userService.login(email, password);
//ResponseEntity<User> responseEntity = new ResponseEntity<User>(getCopy(user), HttpStatus.OK);
ResponseEntity<User> responseEntity = new ResponseEntity<User>(user, HttpStatus.OK);
return responseEntity;
}