Added login error messages to the log in template.