login query changes