added password check
Merge pull request #14 from adamthede/passwordCheck

added password check