Added error message and styling