Added Code for decoding bas64 string