#75 implemented error messages in frontend for some cases