added user validation during signup