Create User class and change index file.