Finish search page styles, fix bugs in search controller