fixes #3184 : error messages added

Added an error message on login, and common layout.