added gui logic page