Change inheritance for LoginForm.js