return an array as expected from ding_user from authenticate method