First look at the design

Starting to implement login logic