got autocomplete to work, added some form validation