Adding validation for creating a user