updating authentication to ensure that the user is logged in before project can be deleted. #6 and #16