added connections to main menu buttons