switch to log instead of fmt
log instead of fmt
log instead of fmt
remove old db handler
support for session user
reorganized db handler to put like functions together.
refactoring and style changes