Implemented user creating in controller