Unable to redirect to correct API backend!