signupform logic