   class UserDirectoryApi
 
     getUserName: ( uuid ) =>
-      user = @getUser( uuid )
-      return user.name
+      @getUser( uuid )
+      .then (user) ->
+        return user.name
 
     resolve: ({ email }) ->
       Promise.resolve()

          return uuid

    getUser: (uuid) ->
      cached = Cache.get( Cache.USERS, uuid )
      if cached?
        return cached
      Promise.resolve()
      .then ->
        validateUuid(uuid)
        axios({

        for uuid in uuids
          validateUuid(uuid)
        axios({
          url    : getUsersUrl()
          method : 'POST'
          data   : uuids
        })
      .then (response) ->
        users = response.data
