Added constraint that each user appears at most once in the database.