Use systemctl for logout, shutdown, etc.

Requires policykit-1 to be installed.
No need of lightdm anymore. xdm is good enough to log you out.