Password encryption, Working Login Validation Form