add register form and connect to mysql