Session support added based on _session_id cookie

I just added session support based on ```_session_id``` cookie, please review it and let me know any comment