business refactor to use p:autocomplete and layout fix