Fixed Empty-user-agent problem and added error trapping to "Add" page