adding user model and tests