public boolean authenticate(String userName)
	{
		boolean success = false;
		SendHandler sendHandler = new SendHandler(this);
		Message msg = new Message();
		if (userName.contains(",")) {
			return success;
		}
		msg.setType("login");
		msg.setSender(userName);
		msg.setMessage(userName);
		
		try {
			sendHandler.sendMessage(msg);
			Message inMessage = (Message)getInFromClient().readObject();
			if (inMessage.getType().equals("Success")) {
				success = true;
			}
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (ClassNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return success;
	}