added loading to dashboard