fixed some routes, included the menu and login check