added database validation

also added previously placed tiles to the tile list of the client