Add method to Check IP