small correction left in from debugging
search only enabled on the main page
refactored custom search into a widget
Merge branch 'master' into auth