Moved the getUserInfo function to the list model, updated API