fix issue: job list not refreshed when erase search box. Also, server-side validation is included
use laravel validator class for server-side validation