add loading spinner to dashboard