added form to build query urls