more loading view logic and removed refresh button