Utility functions to convert userId to username