Inserting check on max upload size for user photo.