Extend from Cms class and use setRedirect