template and login service v1