added associations in user and group models