modified err.message for userImages route