corrected come glitches and installed a jquery plugin called tokeninput in place of jquery ui autocomplete one