Fixed double-insertion of users