Django does not automatically stop an email from being registered twice. It gave an error only when one logs in, solve it