public void leaveMatch(String userName){
		setStatusToIdle(userName);
		deletePlayerFromMarker(userName);
		deletePlayerFromTeam(userName);
		try {
			cs = con.prepareCall("{call SET_MATCHID_TO_ZERO(?)}");
			cs.setString(1, userName);
			cs.executeUpdate();
		} catch (SQLException e) {
			e.printStackTrace();
		}		
	}