added pending state to friendship and began user notification emails