Development of passlog hook