Added Gateway Page and function