improve logging to include logged in username
figure out how to make logging work with username, session, ip