fixed a bug with users deleting accounts