Added support for class based viewmodels.
Updated login ui.