Added unique constraint to table user.