Log book basic feature

basic feature: number of dives, query the database to see are there any
dives