fixed the problem of duplicate additions to the database
Merge pull request #9 from AndrewMagliozzi/master

fixed the duplicate db issue