removed old bbauth and opensam code #5