Updated controller to send down the entries