added error validation for sign up_swathi