Added extra config for development environment
Fixed error handling for duplicate user creation