Change text type and add credentials for some fields