Support enrollment and login with glass.

no error handling?