fixing error helper, new api for user register by local, minor fix for config express