removed resultCode, added login class