populate the sidebar with places from the database. Draw the existing places on the map. Figured out how to use templates