fixed typeahead errors and added tagsinput