fix user creation without entity