search functionality added to app, ajax submission working