Creating name and email validations in user model