now user can delete location, and the database is also affected