A couple extentions to the base controller class