move login form to new way of doing forms