added further form checking in user info update.