Added error message to form in case of an error made by the user