Made password validation work properly

^