Added parseSignedRequest method