08.02.2018 - So there is an default constructor in the inner User class and also in the @Inject UserFactory userFactory; public Result loginPage(){ Form .