Added index and unique constraint to the name and email fields of the users table.