Changed sessions permission from .id to just inheriting the object