Use 'danger' category instead of 'error'. Customize logout message.