Added methods to get the server path and the current username of a server.