No duplicated user_id s anymore

To ensure that no user is duplicated in the database.
Some MySQL optimizing (or so...)