Added authentication error message to layout - Fixes #1