Edit /etc/lightdm/lightdm.conf and add the following to exsting section.
greeter-hide-users=true
It is mind blowing that these incredibly insecure options are enabled by default.
A more complete list of options is available in /usr/share/doc/lightdm/lightdm.conf.
allow-guest=false
For previous versions