migrate register and auth form from django to angular