Fix getUsernames to return usernames instead of profile names

In `UserManager` class the methods `getUsernames()` and `getNames()` both call `user.getName()` although `getUsernames()` most likely was intenteded to use the `user.getUsername()` method.