Add error in request and logout in auth manager