Simple authentication library