fixed the menu bar bug in login page