Fixed submitting form

form has a login attribute that needs to be set to submit