Support enrollment and login with glass.

you can create an Injector class which has a static inject method so you don't have to get the application every time