updated angular to correctly use logout endpoint