Fixed bug in core.js now working/ still in Authentication