implementing the server-side selectize input