Moved log to auth lib