Updated view classes and Login shared preferences