prevent session already started errors