Fix logging. Add username.