I have a function that checks whether the user is logged in or not and another that protects the routes and I wanted the function\'s true or false value to check whether the use