Added get method into main page