Toan & Nikesh | Fixed uploading avatar permissions and hidden fields for no images