Get sessions by key and session delete method