changeUserName method
Updates the name of this user, returns true if successful.
Implementation
Future<bool> changeUserName(Session session, String newUserName) async {
if (id == null) return false;
var updatedUser = await Users.changeUserName(session, id!, newUserName);
if (updatedUser == null) return false;
userName = newUserName;
return true;
}