avoid hard coding UserProvider entity class