Updated my-stream controller to get session object