implemented bcrypt authentification