fixed general error message for registration - closes #9