changes to authorization helpers