errors in json for get_login_details