add logging in and out basic flow