Added codebase: authentication libraries, error generation