fix promise wrapping on user create
user delete function
fix promises on unit test