add error message on upload photo page