further use of promises
Merge branch 'master' of https://github.com/schaloner/deadbolt-2-java