Add JS to store 'credential' to localStorage
Ion_auth implementation
Add some JS