Moved Member model to polymorphic association
Fixing rank type on teams