user leave logging