Fix for the depreciation of userForId()

This fixes the warning for the upcoming deprecitaion of userForId by implimenting a similar function as previous depreciation warning fix.