Auth now fully works, but db listing templates does not.