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));
return results.toJSONString();
}