refactor user controller, merge index and chose character.