Added loading spinner and fixed request url