Added functions to post searchForm