HI,
For Login time of the user can be found in the session object of the user. You can retrieve over association the Session_User and check date value.
For Logout,
https://forum.mendix.com/link/questions/101815
https://forum.mendix.com/link/questions/6759 look into this