add LiYi functions and add chatroom sql file