Don't save user if email is already in use

And more tests