text: from django import forms
  from django.contrib.auth.models import User
  
  class LoginUser(forms.ModelForm):
      password = forms.CharField(widget=forms.PasswordInput)
      class Meta:
          model = User
          fields = ['username',]
  
  class RegisterUser(forms.ModelForm):
      password = forms.CharField(widget=forms.PasswordInput)
      class Meta:
          model = User
          fields = ['username','first_name','last_name','email',]