Made cookie service in LoginService and used it in TodoCtrl