session and token issue resolved