add bookmarks to the permissions array
add missing window implementation for sessions