With these large scale javascript applications taking prominence i hope people remember what is server side and client side. Observing a large chunk of things on client side javascript which is better off at server side. AWS cognito token and associated logic is one such example.