Where is the code of "user page" from desk using filter

Hello everybody, I want to make custom filter by code in new page but I don’t have much knowledge about python and how frappe get data user from DB, so I want to know where is the code of “user page” from desk using filter for study purpose, many thanks