doing registration using two php