public String recieveMsg(String msg)	{
		if(msg.contains(LOGIN) || msg.contains(REGIS))	{
			String[] authentication = msg.split(",");
			if(authentication[0].equalsIgnoreCase(LOGIN))	{
				if(authentication.length == 3)	return authentication(authentication[1], authentication[2]);
				else return "LOGIN_FAILED";
			}else	{
				return registration(authentication[1], authentication[2]);
			}
		}else if(msg.contains(VOTE))	{
			//VOTE  : criteria_id1,project_name1
			//#
			//POINT : project_id1,point1  :  project_id2,point2
			//#
			//username
			
			String[] temp_msg = msg.split("#");
			String username = temp_msg[2];
			
			//User who vote ---- VOTE  : criteria_id1,project_name1-----------------------------------
			User user = user_dao.findUserByName(username);
			
			// Vote for Ballot
			voteForBallot(temp_msg[0], user);
			// Vote for Point -- POINT : project_id1,point1  :  project_id2,point2 ------------------------------------------
			voteForPoint(temp_msg[1]);	
		}
		return "VOTE_COMPELTE";
	}