prepare user session