Finish sessions functionality