Login JSON handling implemented for new URL and methods

Issue #65