made search use inject which is much cleaner and cleaned up search form in sidebar