session and admin clean-up