adds error messages for username password using cookies
Merge branch 'cookies'