revised query login