Adding IP validation for the User model