First version of rtc integration for login/logout