refactored for repository::findonebyany. need to create a username finder chain to use the appropriate findxx method based on the username pattern