loginHandler and relevant message prop settings