Login error message when submitting form that uses upload fields