Fixed minor bugs, added functionality to search bar on homepage (cookies)