}
System.out.println(Network.getInstance().getDefaultNetworkConfiguration().getRequestHeaders().get("cookie").get(0));
// Select the project
Request projectSelectRequest = Network.getInstance().makeRequest("login", HttpMethod.PUT);
projectSelectRequest.addObserver(new ProjectSelectRequestObserver(this));
projectSelectRequest.setBody(ConfigManager.getConfig().getProjectName());
projectSelectRequest.send();
}
else {
JOptionPane.showMessageDialog(view, "Unable to login: no cookies returned.", "Login Error",
JOptionPane.ERROR_MESSAGE);
}