multiple changes to signup_save.php

changed include references
pasted in lines 45-112 from index.php, haven't tested yet