Added sessions controller and first tests