Update validate and submit methods. Make them part of the constructor and cleanup onsubmit event handler
Rename signupAutoLogin to loginAfterSignup