added CRUD location functionality