Integrate user login with new version of SPA view