Adding in authorization API