profile deletion, cache and logout