added ending of a user's session before a user deletes their profile