@Override
 public void deleteUser(User user) {
   for (Role r : user.getRoles()) {
     user.removeRole(r);
   }
   userCurator.delete(user);
 }
 @Override
 public User updateUser(User user) {
   return userCurator.update(user);
 }
 @Override
 public User findByLogin(String login) {
   return userCurator.findByLogin(login);
 }