added a feature which verify ip