added functional to edit user without password