Student journalists force principal to resign