added before in sessions