add a submit action to the login form, closes #81