Create custom cookie to store the user's session id