finished off the testing of the login query