Adding bearer header

adding Bearer authentication header which fixes fatal error