added buttons for editing main page