wiring up basic login form