added a search functino that takes a accessCode supplied by a user and searched the database for a poll iwth a mathcing accesscode