public String userName()
	{
		String userPrompt = "Enter username: ";
		String[] result = new String[1];
		
		write(userPrompt);
		new ConsoleReader(this, result);
		if (!history.isEmpty()) 
		{
			history.remove(history.size()-1);
			historyIndex--;
		}
		return result[0];
	}