Add authorize

Add authorize function for operator