Added Database based Login and PatientView.