login with public json response