Implement account removal

Fixes #441