added previous page capability in app controller for return to previous search page