refactored application.html.erb, configured search for sidebar