Fixing issue not to allow duplicate pairs of user and tavern_group in Membership Table

@akshar-raaj Please check this and let me know if I have did anything wrong about creating a branch based off maste.