Added logging to accountservice