Added checkCorrectPassword function
Merge pull request #1 from lazykiddy/develop

Added function to check if user filled in correct password.