pbc integration and minor changes

- Made some minor changes to the authentificationRequired flag
- Changed annotations to work with the PBC library