updated gateway with new auth