fixed bug. Passwords were not being validated properly

Used Django's inbuilt password encryption