updated sessions controller