@Override
public User getUserById(ObjectId userId, Account account) throws UserNotFoundException {
User u = userDAO.get(userId);
User user = userDAO.findUserForUsername(account, u.getUsername());
if (user == null) {
throw new UserNotFoundException(u.getUsername());
}
// Create the event stream entry
eventService.createEvent(EventId.READ, u, null);
return user;
}