Make upload user avatar work