Remove var_dump from getList and add userId on user object