Custom User model fix + remove email field from form if USERNAME_FIELD = "email"

Custom User model fix + remove email field from form if USERNAME_FIELD = "email" e.g.

class User(PermissionsMixin, AbstractBaseUser):
    USERNAME_FIELD = "email"