hooked initial backend data to client