export and teacher main page