Temp workaround for null user returned by register function