delete lines having the same username
refactor user helper to always delete the same way