Fixed Bug in Menu Refresh

Upon logout menu would not change to login.