Update to make email and username unique. Fixes #47