error messages and notitications displaying