chore(maintain): Overhauled entire SPA architecture and added support for complex user client and server-side permissions.