added encryption to profRegister.php