added account deactivation logic