Implement autocomplete on frontend