Fixed login page and PersonRepository's problem