added error message on failed login.  auto create the base_url