added LoginGateway