Sessions functionality added