mofify session
session use condition