HTML5 test passed, autoLogin() returnStatus fixed and code cleaned up.
Improved email validation and login() error message.