Optimizing Authentication and Authorization in TypeScript - Effect Community