Adding onSiteLoginFailure and onGlobalLoginFailuer events
Merge branch 'develop'