refactored external resources
added authentication