added delete/update functions for sessions