fixed missing return value for converting userid to name