error answer and login after registration