code updates

code Authorization updates