better user login testing with error checking