added spinner when loading locations