Add logout functionality in menu