Update Login template to display errors correctly