Added basic external reg and auth