Add SPA sign in/out and restructured folders