* added prerender and postrender for controllers in mvc extension.