reformatted some code to increase readability
Fixed the autocomplete problem by using Session Variables to add items to the autocomplete list when available