Fixed login class.