 	var availableColors: [TileColor]
 	var remainingTiles: Int
 	var lastConnected: Date //Used to keep track of accumulated tiles while disconnected
+	
+	var hashValue: Int {
+		return self.uuid.hashValue
+	}
 	
 	//New user
 	init(ip: String) {


import Vapor

class User {
	//funcs for UUID gen, username store, getUser from DB, etc
	var username: String? = nil //Username is optional
	var uuid: String			//uuid is mandatory

		return randString
	}
}

func ==(lhs: User, rhs: User) -> Bool {
	return lhs.uuid.hashValue == rhs.uuid.hashValue
}
