added complete authentication