I\'m trying to make a simple authentication in React using custom useAuth hook. This hook has login and logout function that get distributed using an auth context to different c