following the tutorial on plural sight to build SPA