work on users and authentication; vastly improved logger module