Fixed bug with removing menu during log out