public String toString(boolean showTimestamp){
		String chatString = username + ": " + message;
		if(showTimestamp){
			DateFormat formatter = new SimpleDateFormat("HH:mm:ss");
			String formattedDate = formatter.format(messageDate);
			return "[" + formattedDate + "] " + chatString;
		}else{
			return chatString;
		}
	}