Modify sessions controller