Adding authentication.