adding gui to server functionality