Modify to allow deleting and checking of tasks only if user is logged in.