Added db functionality to LoginView and LoginPresenter