Hotfix/logout

Added logout
delete element in callback