initial implementation of dbrest interface, and authenticate against local users