database fix for memberships and remove a link in views
updated models for has_many relationships