use passport for authentication & authenticate pg analytics