Implements blocks & Promise support in login
Merge pull request #43 from Clubjudge/login-block

Implements blocks & Promise support in login