Added action attribute to the form, linking loginpage.html and user.html