queries & login link