diff --git a/src/Form/UserQueueViewForm.php b/src/Form/UserQueueViewForm.php
index 07dffaf..41a0773 100644
--- a/src/Form/UserQueueViewForm.php
+++ b/src/Form/UserQueueViewForm.php
@@ -7,6 +7,7 @@
 
 namespace Drupal\userqueue\Form;
 
+use Drupal\Core\Form\FormInterface;
 use Drupal\Core\Form\FormBase;
 use Drupal\Core\Form\FormStateInterface;
 use Drupal\Core\Url;
@@ -30,10 +31,10 @@ class UserQueueViewForm extends FormBase {
   public function buildForm(array $form, FormStateInterface $form_state, $nid = NULL) {
 
     $form['userqueue']['username'] = array(
-      '#type' => 'textfield',
+      '#type' => 'entity_autocomplete',
+      '#target_type' => 'user',	
       '#prefix' => '<div class="container-inline">',
       '#maxlength' => 60,
-      '#autocomplete_route_name' => 'user.autocomplete',
       '#default_value' => '',
     );
 
@@ -59,4 +60,4 @@ class UserQueueViewForm extends FormBase {
   public function submitForm(array &$form, FormStateInterface $form_state) {
     
   }
-}
\ No newline at end of file
+}
