add control to logged