String tryLogUserIn(String userName) {
		String response = "";
		try {
			clientSocket = new Socket(serverHostAddress, SERVER_PORT);

			/* Socket-Basisstreams durch spezielle Streams filtern */
			outToServer = new DataOutputStream(clientSocket.getOutputStream());
			inFromServer = new BufferedReader(new InputStreamReader(
					clientSocket.getInputStream()));

			writeToServer("NEW " + userName);
			response = readFromServer();
		} catch (UnknownHostException e) {
			e.printStackTrace();
		} catch (IOException e) {
			System.err.println("Connection aborted by server!");
		} catch (Exception e) {
			e.printStackTrace();
		}
                loggedIn = response.equals(ChatServer.OK_RESPONSE);
		return response;

	}