write method to insert rosters into DB avoiding duplicates