Added Session Object.
Changed Endpoint for Session
defined the logger
Added Global methods