Added autocomplete feature on edit and add pages