Make search a named route
Add optional document classes to html tag
Optional error view