Added ip white list functionality