added associations for affilates to user model