Major revision with a working signin and sign out.
Plus some basic pages and logic.