Implemented a mechanism for checking if the auth token is in the local storage, and if it's valid, use it straight away, otherwise, go and fetch a fresh one and save it locally