fixed user loader and null issue with last sync