Bug fix, add log when user log out