After login uploaded photo doesn't delete