update UserSession and fix get branch list in all of report, backup adn restore