---
title: "Discussion on \"#100DaysOfMERN - Day 40\" | Hashnode"
description: "Discussion on \"#100DaysOfMERN - Day 40\". 🆙 Update:\nI did a lot of research concerning secure authorisation in the last couple of days and wrote about my findings on Day 42. I've updated the parts of this blog that previously contained insecure code examples, and added hints where necessary..."
url: "https://hashnode.com/posts/100daysofmern-day-40/6040de67ff443a0a449a0d2f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [#100DaysOfMERN - Day 40](https://blog.jsdisco.dev/100daysofmern-day-40?utm_source=hashnode&utm_medium=feed)

🆙 Update: I did a lot of research concerning secure authorisation in the last couple of days and wrote about my findings on Day 42. I've updated the parts of this blog that previously contained insecure code examples, and added hints where necessary...

Mar 4, 2021 · 12 min read · blog.jsdisco.dev  
Updated Dec 15, 2022  
Read the article

-   [#100daysofcode](https://hashnode.com/tag/100daysofcode)
-   [#mern](https://hashnode.com/tag/mern)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[marayana](https://hashnode.com/@marayana)

@marayana · Europe

  
[View profile](https://hashnode.com/@marayana)

Stayin' alive (and sane) at the JavaScript disco

## Responses 1

Markdown supported · ⌘↵ to post

[Pratik Zinjurde](https://hashnode.com/@pratikpz)

[Mar 5, 2021](https://hashnode.com/posts/100daysofmern-day-40/6040de67ff443a0a449a0d2f/comment/60427d9b91eeac2b7aee8541)

It would be very kind of you to solve this for me how can i get all the users whose users ids present in users friendlist array For reference u can see this [stackoverflow.com/questions/66497145/how-can-i-ge…](https://stackoverflow.com/questions/66497145/how-can-i-get-all-the-users-whose-users-ids-present-in-users-friendlist-array)

[marayana](https://hashnode.com/@marayana)

[Mar 6, 2021](https://hashnode.com/posts/100daysofmern-day-40/6040de67ff443a0a449a0d2f/comment/60427d9b91eeac2b7aee8541#reply-6043b24d5a56f82fa3ecbf25)

Good to know, I have yet to explore how to write more advanced queries. That'll definitely be one of the next articles.

[Pratik Zinjurde](https://hashnode.com/@pratikpz)

[Mar 6, 2021](https://hashnode.com/posts/100daysofmern-day-40/6040de67ff443a0a449a0d2f/comment/60427d9b91eeac2b7aee8541#reply-6043c3028458d42fc821b4a1)

yes it would be glad to read[jsdisco](https://hashnode.com/@jsdisco) also,i am working on chat webapp im using mern im currently stuck at messaging i fetched users friends in message component im not finding way how can i send them msg im thinking of using socket.io the current problem im facing is how can message particular user like when i click user i want to open the respective chat window how can i do it in react could you help me this is my repo [github.com/pratikpz18/Ping/blob/main/frontend/src…](https://github.com/pratikpz18/Ping/blob/main/frontend/src/components/Messages.js)  
i want do something like whatsapp(web app) like when u click on particular friends the window on right appears

[marayana](https://hashnode.com/@marayana)

[Mar 9, 2021](https://hashnode.com/posts/100daysofmern-day-40/6040de67ff443a0a449a0d2f/comment/60427d9b91eeac2b7aee8541#reply-6047d7c8c64c63545921c936)

I'd love to help you with this, but I'm really the wrong person to ask, two months ago I couldn't even set up a server...
