added register form modal, wrote tests to validate register form and validated register form