Get a user object by username or id javascript

Your plugin should be able to either update the username references when a username changes or add the necessary routes and serializers you need to fetch the data.