add Bearer authentication into REST module