Modified server to produce login form