Refactored EditUser action to show proper image size validation methods