added spinner and basic http service