Add endpoint to stop a session and refactor rendering of link actions. #3