adding authorization class methods