Added user entity when registering