fixed #33 Session API has been implemented.