fix function p_signup to handling send mail