added layout for gateway view