Add functionality to create method on SessionController.