Obtain staff id from session