create flash messages view
implement rescue for errors in query of stocks
write up flash method as helper for all views