draft code for account disabling functionality.

super buggy at the moment