moved errors and messages to layout from view