开始后台功能

update the code from the origin author