Made login page MVVM, general cleanup