A simple login class.