created the model and ran the migration
added the validation in user model