remove unused elements; hide pieces according to permissions; partial commit for new store auth procedure