AuthenticateFactory added; loginform and authentication service now injected by constructor