fixed a bad return on credential creation, updated create user for template inherit