session work(just first step) and prevent delete