add facade for permissions and ajax support