adding session for ui