configured logout in angular