public void createChatroom(String userMsg) {
   	 Message ccrMsg;
   	 if (userMsg.length() == 0) {
   		 String ccrName = ""; // because no chat room name
   		 try {
   			 ccrMsg = msgFactory.createMessage("ccr", ccrName);
   			 producer.send(ccrMsg);
   		 } catch (JMSException e) {
   			 // TODO Auto-generated catch block
   			 e.printStackTrace();
   		 }
   		 return;
   	 }
   	 else if (userMsg.equals(" ")) {
   		 System.out.println("Improper use of '/ccr'");
   		 System.out.println("Please use '/help' for a list of commands");
   		 return;
   	 }
   	 else {
   		 userMsg = userMsg.substring(1); //get string after space
   		 //do another check
   		 if (userMsg.contains(" ")) {
   			 System.out.println("Improper use of '/ccr'");
   			 System.out.println("Please use '/help' for a list of commands");
   			 return;
   		 }
   		 //create the room with a room name w/ rest of userMsg
   		 String ccrName = userMsg;
   		 try {
   			 ccrMsg = msgFactory.createMessage("ccr", ccrName);
   			 producer.send(ccrMsg);
   		 } catch (JMSException e) {
   			 // TODO Auto-generated catch block
   			 e.printStackTrace();
   		 }
   		 return;
   	 }
    }