Initial implementation
Working authentication against database users. No user password management yet.