Logout button now works