use dbus to register with session manager