Added a simple login query