adding css loading spinner