added tinymce and session code