new changes

new model for accesing memberships