Login with output format json