Adding sessions controller and tests