Adding code to handle wrong requests