added user model and made test to this model