I am currently building a React Web App and I want to fetch a table from the server (readDBData()) while checking if the user is logged in. The function is called from a Rea