Add uniqueness constraint on uid

Adds a uniqueness constraint on `User` `uid` at the data~~base~~ store level.