creating crud actions for sessions