Fetch from database and pass to next screen

Is it possible for users to enter their unique username on one screen, and then, on the following screen, have all their user-specific details, such as email and phone number, automatically populated without needing to confirm their selection?

Currently, users enter their username, and on the next screen, they see a list of users sorted by the entered username. They then have to confirm their selection by pressing a button before being taken to a screen displaying all their details.

On screen two limit the list to return 1 record.

Yes. I got the second screen sorted. My goal is to skip the second screen all together. Just enter username and pull the record straight out of the db without selecting it in a list

In that case have an input field and underneath it your list that returns one record.
Hide the list if the input field is empty.