All views templates can be overridden with a variety of names, using the view, the display ID of the view, the display type of the view, or some combination thereof.
To make a redirection after user login, we can use the hook hook_user_login().
Note : You cannot use $form_state->setRedirectUrl() directly in the form alter, since it will be overwritten by UserForm::submitForm().