fix html5 mathjax error handling, start user login/registration