added empty users folder
fixed async related bugs in registration