amend login form