defined css for classes  | handled enter event for autocomplete