Added the gridname as request parameter to get the gateway URL