Reset account [wip]

Tests aren't all passing yet, and refactoring could be done on api endpoints.