Implemented login/logout logging