UserProvider. Added valid users provider method.