updating Sign Up function to clean up after a valid sign up.