Changed from using value-type to use class, we probably want to test what happens when we pass incorrect types for password/email/etc