Add login_required to remove_file