implemented storage authorization