added functionality to index all contacts related to an account or send a No contacts error, with tests