Add requirements
Change create_poll to use AJAX/JSON