remove ngResource and logging