created login class