A simple login system built with C++