prettier error handling; set up alerts page for Fredo