add handler after process token check