When the user is not logged in for a brief interval of time, the api fails and due to that the user should not be able to consistently be on the page. But this is a little catch 22 because the user needs to refresh as of right as we tested around the app. So due to this, we possible will patch this fix in and should be able to redirect user to the landing page if the api fails with a error.
the error codes are 400, 401, 500.
currently the user needs to refresh to be redirect to the landing page. this is a good start, maybe we can update it to be better as well.
Acceptance Criteria