use new "queries" api
Merge branch 'master' of github.com:adioo/login