v1 pull request logging
cache the user lookup
tidy up pull-requests code