Greendeck interview question

How would you design a user login system?