add user lookup via ajax and move autocomplete to js file