added bcrypt encryption for checking entered passwords and denying access to secure files