By default font name is used for a front route of any action.
If you want to change account and login name then you need to create folder under Customer module controller folder,
Path is Controller/Account/Login.php
Where customer is frontname for any customer action.
You need to customize for display specific action in url.
Like, "customer/account" in this url customer is frontname where account is Account folder name under Controller/Account and if "customer/account/login" then Controller/Account/Login.php
When third parameter is not passed at that time they will consider index.php as filename.