Make loginForm private.
Don't omit scala prefix when importing scala packages.

This is the convention used by Play framework.
Validate the login form.

Show an error message if we found an error in the login form.