The module of logining out is added, with messagedialogs insteading of toasts.