display news in class tab
use 6 digits code, and expire time span is 10 minutes
fix json response hierarchy, use error_msg at front end