Implement login for API
Merge branch 'master' of github.com:tanel/kopsik