Adds error handling to upload and contact info bean.