create html for session box