Updated to set LOGIN_REQUIRED flag when C_Logout is called

Updated to check all references to a session's slot