closes #8 - accept paths and userinfo