Fix missing self in admin logout function