serverFilterInput function

Run the backend server for filterInput