register.php now submits info to relevant databses