How to make a login form using HTML that connects to the next page

So, it doesn't matter what the client requested? You are always going to return the same page. I don't think that is going to work well.