Configured login page to use new User class.