added membership table and all related associations