Add all logic for login/logout back into the system.
Merge branch 'layout-spike' of github.com:prisms-center/materialscommons.org into layout-spike