Updated server app

Added search handlers