int userId = Integer.parseInt(us.getUserId());
final UserRepository userRepository = context.getBean(UserRepository.class);
if (us.getProfile() == Profile.Administrator) {
@SuppressWarnings("unchecked")
List<Element> allUsers = userRepository.findAllAsXml().getChildren();
return allUsers;
}
if (us.getProfile() != Profile.UserAdmin) {
@SuppressWarnings("unchecked")