Let me preface this with I am a Java developer, but my team is developing an SSO microservice for our product in rails so I am learning as I go.

Currently I have it setup to send a confirmation of password reset when a user enters their email into this form:

```
<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| %>
<%= devise_error_messages! %>
    <div class="row">
        <div class="medium-12 small-12">
            <div class="field">
                <%= f.label :email, class: 'field-label' %>
                <%= f.email_field :email, autofocus: true %>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="actions columns medium-12 small-12">
            <%= f.submit "Send", id: "send-button" %>
        </div>
    </div>

    <div class="row text-center align-center">
        <div class="small-8 small-centered columns">
            <br><p id="form-subheading">* For security reasons, we do NOT store your password. We will NEVER send your password via email.</p>
        </div>
    </div>
<% end %>

```

And it successfully passes through the following function in the `class Users::PasswordsController < Devise::PasswordsController`

```
# POST /resource/password
def create
 super
end

```

The problem is now we need to add the following `first_name` and `last_name` fields to the form, and authenticate it against the User model before sending form to their email, but it is ignoring those parameters entirely. Clearly I need a check somewhere, but have no idea where to begin.

```
<div class="row">
    <div class="medium-5 small-12">
        <div class="field">
            <%= f.label :first_name, class: 'field-label' %>
            <%= f.text_field :first_name %>
        </div>
    </div>
    <div class="medium-6 medium-offset-1 small-12">
        <div class="field">
            <%= f.label :last_name, class: 'field-label' %>
            <%= f.text_field :last_name %>
        </div>
    </div>
</div>

```

I know they get sent to the backend because the `params[:user]` variable contains the information if I put a `byebug` statement in the function. I am just unsure how to validate the new information in the form.

Any help on building custom fields for this form would be appreciated.