sync whoami before view render