logout bug fix
images deleted