add some code from

https://git.gnome.org/browse/archive/accounts-dialog/diff/src/um-login-options.c?id=78203781ca65a9930c37c073b2809e18163eb5cf