have delete and upload avatar working