add uniqueness enforcement to the database by add index to usernames and emails