added logging, default assigned to logged-in user
fix client name