Fixes sessions controller