fix usercreate code
add app resources and init scripts
merge