Adding search function to all application/controllers/bab/ Controllers