handle business errors and implement login after profile signup