added has_and_belongs_to_many relationship for communities and users