TODO: This and the latter else branch could be their own methods: FindByName and FindByEmail.