re-structure tables

Banged my head against the wall for a while trying to make a view come
out "correct," only to realize it's simpler if one uses a mapping table.
this is no longer a 'user group'
add secrets route
add secrets function
update dropdb script
some thoughts on the secrets API
update client