Promises and fetching all data from server.