Load login / register block in custom template
The user/login page is different from the the user login block. To add the user login form to an arbitrary page, then you would need to add the user login block to a region you want, and configure it to display only on the front page. This can be done using the Block administration page (documentation).