Make username unique
Fix possible bug with thin pid