Add sessionKey support to RelationController.php