 			
 			//Received JSON request from client
 			webSocket.onText = { ws, text in
+				print("Received request: " + text)
 				//TODO: Session tokens if we have time for that
 				let json = try JSON(bytes: Array(text.utf8))
 				if let reqType = json.object?["requestType"]?.string {

				errorMessage = "Invalid color ID provided"
			case .parameterMissingColorID:
				errorMessage = "Missing color ID parameter"
			default: break
			}
			var structure = [[String: NodeRepresentable]]()
			structure.append(["responseType": "error",

						case "getColors":
							try sendColors(json: json, user: user!)
						case "getTileData": break
						default:
							throw BackendError.invalidRequestType
						}
					} catch {
						sendError(error: error as! BackendError, socket: webSocket)
					}
				}
			}
