Generating users controller.