Adding validation for user fields