more edits to add console logging to user routes