Add logging to the auth