pub async fn user_by_username( state: AppState, username: &str, ) -> Result<Option<UserSummary>, AppError>
Look up a user by username.