updated login logout and profile
updated karma config to handle ngAnimate