changed api endpoing to live server from development