changed password field to correct type