fix user entity validation