create view of session