we display `username` field only if it is required by the `User` model