Changed register form to parameterized queries