Added player queries and insertion.