loginForm moved to component