Berkeley authentication code in framework