add handed methods curl and done intercept curl and json exeptions
add views errors json and curl
add global value for API link in curl