created user model with password