How do I get the login form to pop up on the same page when I click on login?
In the default Magento theme, this feature is sot available. Either you can take help from a different Magento theme(which has a similar feature) or you need to extend your current theme using layout and template. There is a popup login modal in checkout page. You can take help from that also.