Refactoring: index page now a 'template' so we can hide it behind login