Add checks in controllers

why?