chore: implement changes from linters, update copyright years
feat: some logging improvements
feat: logout
refactor: move more to handlers