changed contact_form_success hook to only run if in fact the contact form was successful