main now uses GatewayUser to print data from file