hide edit buttons if user not logged in
make file-detail visible to anonymous users