Added menu and homepage functionality