hide refresh button and moved loading the entries to the controller