Logout button now working