fix empty search box and search url parameter
the "required" attribute forbid any empty search,
and the "dashboard" url parameter cannot be empty.
fixes #16