Added autocomplete functionality to start and end fields