SampleApplication.class is divided into two parts (Application and LoginEditor) with separation of  view layer