Server no longer crashes when /user/:userId is requested with an invalid userId.