In this recipe, we will carry out user authentication through RPC to check whether the supplies credentials are valid.