added error callback to login
Merge branch 'master' of github.com:anycook/anycook-api