Add LoginController as home controller.
Add java configuration files.