added security for static_controller