MODE-2344: Login/Logout procedure