Added __get to controller