A small login class