password type changed to int