Added admin functionality to assign ticket to user depending on accepted referrals