Adding a check for no contacts in the database