Using base.html on both login and spa pages