modified login view to use new form generation system