Try/Except added for user IP field