fixes for unauthorized access for shared
changed stateChangeSuccess logic
fix jslint error made

update dist build