add search to defaultController.php
add restore & permanently delete to defaultController.php