started of session implementation