creating and ending polls works now; fixed api and touched up frontend