removed constructor from session