Added functions to create authorization signature