Add base controller and auto render