manage index page - catch errors from instagram

it cant access the callback on local