Refined the jsonLogin api.
Merge branch 'master' of github.com:rjayatilleka/hatch