add error & loading states