updtated parameters to db.php and added 'ADDPOLL' request handling