add register form and class