Moved Log out check to footer