fixed lecture delete visibility

was available when no user is logged in