Added require decorator
Create user api fixed