parameterize log location and update user