Added capability to edit main page