added authority generator (for authorization)