added alert for errors and a spinner on timeline load