adding menu and fixing login