before decompose session and user