Code Manager Update

cut down cookie size
back end security for code manager