Bearer Token logic added

Bearer Token logic added