Changed password field to correct type