add helper to BaseController