Link python poll system to PHP and frontend