there were two codes, one with session, one with cookie. Since none helped me to pull the user id from the cookie that osclass creates, i just created another cookie myself and i extracted the user id from this cookie and things worked out. No rss or api. So it's done with 4-5 lines of code - if anyone needs it