Add functions : validate email,username, check password matching to
register form.