Same here, an `else` defining the `username = user.name` would be more appropriated.