Deleting the session properly