build security controller