added logging, started users
initial work on database interface