validation in user edit view