Add checkout endpoint

Just empties the cart at this point.
Add user accounts

Must be logged in to check out. Users are application-wide, rather than
tied to a specific store.
Factor out base template
Allow user logout

Closes #7