created user model and added tests