Sessions controller fix