added render in controller