Adding PUT, DELETE AND EXCEPTION HANDLING