@ResponseBody
public String setProfileImage(@PathVariable(value = "imageId") Long imageId) {
UserDetails userDetails = getCurrentUserDetails();
User user = userService.getUserByUserName(userDetails.getUsername());
JSONObject results = new JSONObject();
File file = fileService.find(imageId);
ProfileImage profileImage = new ProfileImage();
profileImage.setFile(file);
results.put("success", profileImageService.saveProfileImage(profileImage));