newUser function mostly done, just need to check email format