Added methods in DBCOM that would check for duplicates of names and
emails and implemented them in the Addfriend class.