initial commit for tracking referral status and send notifications about changes