Implement auth and namespace reply

This closes #4