added guest rating, corrected create_user, staged referrals