updates to client and deleteSession