Adds menu and logout function