1. fix sso bug; 2. add the feature of sync logout with drupal