create hook to update accessLevel from session