Javascript – tag/mention a person

I am trying to make a module in which you can tag/mention a person in your newsfeed. For example, if I am typing @sam then all persons with Sam’s name will come up. I am storing the entire user list in JSON in sessionStorage to make them load quickly (loading from Ajax wasn’t an option). The module is ready but the problem is currently it’s having only 200 users and that’s why it’s working perfectly. When the website will be having 50-60,000 users, sessionStorage/localStorage won’t be the feasible option as it has a capacity of 5 MB only.

The question is, is there any other alternative to these?

FYI – The JSON list contains 4 values: user ID (encrypted), user_name, profile_picture_url, and location.