I added some jsCode for safecode of login in the index.html.