edited p_signup error handling