adding loading state from remote server.