Connected the front end to the polling service