update MongoDB;add Session,cookie in Util