Modified the login() method such that it stores unknown users to the database. This is just a temporary solution and needs to be changed, as soon as the register form works.