changed login class