This will prevent duplicate entries when adding the database