removed unused function, fixed date ordering on index page, made search panel more clear/