Format validation for Email id and Password