Add hook for admin logout