added code to verify if client's ip is from a given network