}
Map<String,String> organisations = Organisation.options();
return ok(newForm.render(userForm, user, roles, organisations));
}
public static Result edit(Long id) {
<BUG>User user = User.findByEmail(request().username());
User curator = User.findById(id);
Form<User> userForm = Form.form(User.class);</BUG>
userForm = userForm.fill(curator);
List<Role> roles = null;

}
return ok(jsonData);
}
public static Result view(Long id) {
User curator = User.findById(id);
if (curator == null) return notFound("There is no Curator with ID " + id);
User user = User.findByEmail(request().username());
List<Role> roles = null;
