Added loging flow