get a login form working