add validation in user form and avoid sending user salary when only role is updated