added buttons to mainPage
changes to layout