Dinesh
Ok so when i hit the login api..wat I got is user details n response cookie with session id...wen I refresh the page there is no session it is asking to login
read somewhere (i suggest MDN) what cookies are, how they're work and how to use them for auth
and also find english-speaking community