Add logging in and authentication failed indication