Added --verbose flag and logging for backend