Setting the session id from session