logout button in menu now works