Boundary conditions, effective action, and Virasoro algebra for AdS₃