Created an authentication library