Updated password protection to use bcrypt