added some styling and a loading spinner