added permissions and menu bar