add login validation errors to view