use auth gw to login