add logging for dr login