resolve bug of back to login page manually remove menu list in nav bar