Reverted Changes made to login code

changed the field from password to text