Prevent 500 error on private project page when you are not logged-in