Profile photo uploads work

Fix #439