Fixed error handling on /updateusersettings